package com.gitee.wsl.compose.ui.richtext.base

import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.text.TextLayoutResult
import com.gitee.wsl.compose.ui.richtext.edit.model.span.RichSpan

data class LineWrap(
    val line: Int,
    // The character index of the first character on this line
    val wrapStartsAtIndex: Int,
    val virtualLength: Int,
    val virtualLineIndex: Int,
    val offset: Offset,
    val textLayoutResult: TextLayoutResult,
    val richSpans: List<RichSpan> = emptyList(),
)